<?php

/* model*/
namespace model;

class Calculator_Index{
    public function __construct() {
        //print "x";
    }
    public function getMuntenLijst(){
        $dbConn = \Db::conn();
        $dbSql = "SELECT * FROM munt ORDER BY munt";
        $dbResultaat = $dbConn->query($dbSql);
        return $dbResultaat->fetchAll(\PDO::FETCH_ASSOC);
    }
    public function getCouriers(){
        $dbConn = \Db::conn();
        $dbSql = "SELECT * FROM courier ORDER BY courier";
        $dbResultaat = $dbConn->query($dbSql);
        return $dbResultaat->fetchAll(\PDO::FETCH_ASSOC);
    }
}